package com.chief.part1;

public class Test {

    public static void main(String[] args) {
        Activity activity = Activity.of(builder -> builder.s1("s1").s2("s2").s3("s3"));
        System.out.println(activity);


        activity = new Activity.Builder().s1("s11").s2("s22").s3("s33").build();
        System.out.println(activity);
    }
}
